﻿<Controls:DataGridTemplateColumn x:Class="jSLCore.Client.Presentation.BaseControl.Selection.MultiSelectColumn"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                                 xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:Selection="clr-namespace:jSLCore.Client.Presentation.BaseControl.Selection" mc:Ignorable="d">
    <Controls:DataGridTemplateColumn.CellTemplate>
        <DataTemplate>
            <Selection:NormalCheckBox
                DataContext="{Binding}" 
                HorizontalAlignment="Center" 
                VerticalAlignment="Center" 
                Checked="row_Clicked" 
                Unchecked="row_unClicked" 
                ToolTipService.ToolTip="Отметить запись" 
                Loaded="checkBox_Loaded" 
                LayoutUpdatedNormal="checkBox_Layout"
                />
        </DataTemplate>
    </Controls:DataGridTemplateColumn.CellTemplate>
</Controls:DataGridTemplateColumn>
